package com.riteny.paymentgateway.swifypass.exception;

import lombok.Data;

/**
 * @author Riteny
 * 2022/1/4  17:28
 */
@Data
public class SwiftPassPaymentGatewayException extends RuntimeException {

    public static final String UNKNOWN_ERROR = "0";

    private String errorCode;

    private String errorMsg;

    public SwiftPassPaymentGatewayException(String errorCode, String message) {

        super(message);

        this.errorCode = errorCode;

        this.errorMsg = message;
    }
}
